package com.xxgc.eow.controller.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.stereotype.Component;

/**
 * @program: ExhibitionOfWorks
 * @description: 接收用户登录的对象
 * @author: Mr.Abel SJY
 * @Email thanksjava@qq.com
 * @create: 2023-05-09 23:10
 **/
@Data
@Component
@Schema(name = "UserLoginDTO", description = "微信用户登录数据")
public class UserLoginDTO {
    @Schema(description = "可通过wx.login获取")
    private String code;
    @Schema(description = "昵称")
    private String nickName;
    @Schema(description = "头像")
    private String avatarUrl;
}
